package lianxi04;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86131
 * Date: 2024-04-21
 * Time: 14:41
 */
public class Test {
    public static void main(String[] args) {
        MyThread t1 = new MyThread();
        MyThread t2 = new MyThread();
        MyThread t3 = new MyThread();
        MyThread t4 = new MyThread();
        MyThread t5 = new MyThread();

        t1.setName("caijun");
        t2.setName("zhangsan");
        t3.setName("lisi");
        t4.setName("wangwu");
        t5.setName("niuer");

        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();

    }
}
